﻿using BootstrapBlazor.Components;
using BPM.Web.Shared.Data;
namespace BPM.Web.Shared.Service;

public interface ISysAppService
{
    Task<bool> AddAsync(SysApp input);
    Task<bool> ChangeStatusAsync(ChangeUserAppStatusInput input);
    Task<bool> DeleteAsync(IEnumerable<SysApp> input);
    Task<SysApp?> DetailAsync(QueryAppInput input);
    Task<List<SysApp>?> ListAsync();
    Task<QueryData<SysApp>> PageAsync(AppPageInput input);
    Task<bool> SetAsDefaultAsync(SysApp input);
    Task<bool> EditAsync(SysApp input);

    Task<IEnumerable<SelectedItem>> GetSelectedAppsAsync();
    IEnumerable<SelectedItem> GetSelectedItemAsync();
}
